/*
 * @(#)Command.java 	1.0 2010/07/23
 *
 * Copyright 2010 guyven and David Croft. All rights reserved.
 */
package com.iawg.attrition.engine.renderer;


/**
 * Renders all output to the console so that graphics are not required.
 * Outputs the map as a matrix.
 * 
 * @author William David "XaviorArrokoth" Croft Jr.
 * @author guyven
 * @version 1.0 2010/07/23
 */
public class ConsoleRenderer extends Renderer<Element>{
	
	@Override
	public void print(String message) {
		System.out.println(message);
	}

	@Override
	public void render(Element element) {
		try {
			while(true)
			Thread.sleep(0);
		} catch (InterruptedException interruptedException) {
			interruptedException.printStackTrace();
		}
	}
}